package pl.edu.pw.ws.model;

import java.io.Serializable;

public class Offer implements Serializable {
	
	private String offerId;
	
	private String title;
	
	private String description;
	
	private Address address = new Address();
	
	public String getOfferId() {
		return offerId;
	}

	public void setOfferId(String offerId) {
		this.offerId = offerId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "Offer [offerId=" + offerId + ", title=" + title
				+ ", description=" + description + ", address=" + address + "]";
	}


	
	
}
